<m_include file="Public:head" />
<body>
<m_include file="Public:nav" />
<m_include file="Public:search" />
<div style="width:30%;height: 40px;line-height: 40px;border: 1px solid #f9be00;margin: 2px auto;border-radius: 8px;">
	<a href="product?brand=1"  <?php if($bid <= 12) {?> style="width: 50%; display: block; float: left; background: #f2e2ad;"  <?php }else{?> style="    width: 50%; display: block; float: left;"    <?php }?>  >&nbsp;&nbsp;手机</a>
	<a href="product?brand=13"  <?php if($bid <= 12) {?> style="    width: 50%; display: block; float: left; "  <?php }else{?> style="    width: 50%; display: block; float: left; background: #f2e2ad;"    <?php }?> >&nbsp;&nbsp;平板</a>
	
	</div>
<style>
.click{background:#ddd;}
</style>
<div class="main">
	<div class="mainl" style="width:25%;float:left;border: 1px solid #ddd;">
		<?php if($bid <= 12) {?> 
			<ul>
			<li <?php if($bid == 1) {?> class="click" <?php }?> style="padding:5px;"><a href="product?brand=1">苹果</a></li>
			<li <?php if($bid == 2) {?> class="click" <?php }?>  style="padding:5px;"><a href="product?brand=2">三星</a></li>
			<li <?php if($bid == 3) {?> class="click" <?php }?>  style="padding:5px;"><a href="product?brand=3">小米</a></li>
			<li <?php if($bid == 4) {?> class="click" <?php }?>  style="padding:5px;"><a href="product?brand=4">华为</a></li>
			<li <?php if($bid == 5) {?> class="click" <?php }?>  style="padding:5px;"><a href="product?brand=5">HTC</a></li>
			<li <?php if($bid == 6) {?> class="click" <?php }?>  style="padding:5px;"><a href="product?brand=6">Sony</a></li>
			<li <?php if($bid == 7) {?> class="click" <?php }?>  style="padding:5px;"><a href="product?brand=7">魅族</a></li>
			<li <?php if($bid == 8) {?> class="click" <?php }?>  style="padding:5px;"><a href="product?brand=8">OPPO</a></li>
			<li <?php if($bid == 9) {?> class="click" <?php }?>  style="padding:5px;"><a href="product?brand=9">vivo</a></li>
			<li <?php if($bid == 10) {?> class="click" <?php }?>  style="padding:5px;"><a href="product?brand=10">酷派</a></li>
			<li <?php if($bid == 11) {?> class="click" <?php }?>  style="padding:5px;"><a href="product?brand=11">中兴</a></li>
			<li <?php if($bid == 12) {?> class="click" <?php }?>  style="padding:5px;"><a href="product?brand=12">努比亚</a></li>
		</ul>

		<?php }else{?> 
			<ul>
				<li <?php if($bid == 13) {?> class="click" <?php }?> style="padding:5px;"><a href="product?brand=1">全部平板</a></li>
			</ul>
		
		<?php }?> 
		
		
		
	</div>
	<div style="width:74%;float:left;">
	<div id="wrapper" data-bid="{$bid}" data-keyword="{$keyword}">	
        <ul>    	
        </ul>       
	</div>
	</div>
    <div id="load"></div>
</div>
<m_include file="Public:foot" />
<m_include file="Public:script" />
<script src="__TMPL__Public/js/product.js?v={$version}"></script>
<script>
wx.ready(function (){
	var w_title = '{$brand}手机最新回收价 | 收个机',
		w_imgUrl = 'https://mmbiz.qlogo.cn/mmbiz/miaDlcMfFxKERIpdBCBuaHiam9lXSR0kicdVxNZXOOz92jNQNdBucLu99eOw94ibiaXqPeTzB9ibexwdq8MzuDbmznNQ/0?wx_fmt=jpeg';
	wx.onMenuShareTimeline({
		title: w_title,// 分享标题
		link: '', // 分享链接
		imgUrl: w_imgUrl,
		success: function () { },
		cancel: function () {}
	});	
	wx.onMenuShareAppMessage({
		title: w_title, // 分享标题
		desc: '', // 分享描述
		link: '', // 分享链接
		imgUrl: w_imgUrl, // 分享图标
		type: '', // 分享类型,music、video或link，不填默认为link
		dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
		success: function () {},
		cancel: function () {}
	});
});
</script>
</body>
</html>
